<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type_id" data-rule="required" data-source="meettype/index"  data-field="title" class="form-control selectpage" name="row[type_id]" type="text" value="{$row.type_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subtitle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subtitle" class="form-control" name="row[subtitle]" type="text" value="{$row.subtitle|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>

        </div>
    </div>
  <!--  <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Room_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-room_id" data-rule="required" data-source="mrbs/room/index" data-field="title" class="form-control selectpage" name="row[room_id]" type="text" value="{$row.room_id|htmlentities}">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-image"></ul>
        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">

            </div>
        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{:$row.start_time?datetime($row.start_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sign_way')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sign_way" data-rule="required" class="form-control" name="row[sign_way]" type="number" value="{$row.sign_way|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Have_goods')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-have_goods" data-rule="required" class="form-control" name="row[have_goods]" type="number" value="{$row.have_goods|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_name" data-rule="required" class="form-control" name="row[goods_name]" type="text" value="{$row.goods_name|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_room_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_room_ids"  data-source="user/user/index" data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[check_room_ids]" type="text" value="{$row.check_room_ids|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attend_meet_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-attend_meet_ids" data-source="user/user/index" data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[attend_meet_ids]" type="text" value="{$row.attend_meet_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attend_topic_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-attend_topic_ids" data-source="user/user/index" data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[attend_topic_ids]" type="text" value="{$row.attend_topic_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_ids" data-source="user/user/index" data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[check_ids]" type="text" value="{$row.check_ids|htmlentities}">
        </div>
    </div>
    <!-- <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Approver_ids')}:</label>
         <div class="col-xs-12 col-sm-8">
             <input id="c-approver_ids" data-source="user/user/index" data-field="username" data-multiple="true" class="form-control selectpage" name="row[approver_ids]" type="text" value="{$row.approver_ids|htmlentities}">
         </div>
     </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Issued_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-issued_ids" data-source="user/user/index" data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[issued_ids]" type="text" value="{$row.issued_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Late_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-late_time" class="form-control  "   name="row[late_time]" type="text" value="{:$row.late_time? $row.late_time :''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Normal_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-normal_time" class="form-control  "   name="row[normal_time]" type="text" value="{:$row.normal_time? $row.normal_time :''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Normal_tip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-normal_tip" class="form-control" name="row[normal_tip]" type="text" value="{$row.normal_tip|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Late_tip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-late_tip" class="form-control" name="row[late_tip]" type="text" value="{$row.late_tip|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Absence_tip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-absence_tip" class="form-control" name="row[absence_tip]" type="text" value="{$row.absence_tip|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
